import { Module } from '@nestjs/common';
import { FileController } from '../controller/file.controller';
import { UserController } from '../controller/user.controller';
import { Userervice } from '../services/user.service';
import { User } from '../entity/user.entity';
import { PartController } from '../controller/part.controller';
import { Partervice } from '../services/part.service';
import { Part } from '../entity/part.entity';
import { TaskController } from '../controller/task.controller';
import { Taskervice } from '../services/task.service';
import { Task } from '../entity/task.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
console.log(2);
@Module({
  imports: [
    TypeOrmModule.forFeature([User, Task, Part])
  ],
  controllers: [
    UserController,
    PartController,
    TaskController,
    FileController
  ],
  providers: [
    Userervice,
    Partervice,
    Taskervice
  ],
})
export class ApiModule {}
